package com.ygqh.baby.po;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

import com.alibaba.fastjson.annotation.JSONField;

public class WdtQybStockIn {
	@JSONField(name = "stockin_id")
	private Integer stockinId;

	@JSONField(name = "order_no")
	private String orderNo;

	@JSONField(name = "warehouse_no")
	private String warehouseNo;

	@JSONField(name = "src_order_no")
	private String srcOrderNo;

	@JSONField(name = "stockin_time")
	private Date stockinTime;

	@JSONField(name = "created_time")
	private Date createdTime;

	@JSONField(name = "remark")
	private String remark;

	@JSONField(name = "order_type")
	private Integer orderType;

	@JSONField(name = "order_type_name")
	private String orderTypeName;

	@JSONField(name = "goods_amount")
	private BigDecimal goodsAmount;

	@JSONField(name = "total_price")
	private BigDecimal totalPrice;

	@JSONField(name = "discount")
	private BigDecimal discount;

	@JSONField(name = "tax_amount")
	private BigDecimal taxAmount;

	@JSONField(name = "post_fee")
	private BigDecimal postFee;

	@JSONField(name = "other_fee")
	private BigDecimal otherFee;

	@JSONField(name = "logistics_type")
	private Integer logisticsType;

	@JSONField(name = "check_time")
	private Date checkTime;
	// ===================================================================
	@JSONField(name = "details_list")
	private List<WdtQybStockInDetail> detailsList;

	public String getSrcOrderNo() {
		return srcOrderNo;
	}

	public void setSrcOrderNo(String srcOrderNo) {
		this.srcOrderNo = srcOrderNo;
	}

	public Integer getStockinId() {
		return stockinId;
	}

	public void setStockinId(Integer stockinId) {
		this.stockinId = stockinId;
	}

	public String getOrderNo() {
		return orderNo;
	}

	public void setOrderNo(String orderNo) {
		this.orderNo = orderNo == null ? null : orderNo.trim();
	}

	public String getWarehouseNo() {
		return warehouseNo;
	}

	public void setWarehouseNo(String warehouseNo) {
		this.warehouseNo = warehouseNo == null ? null : warehouseNo.trim();
	}

	public Date getStockinTime() {
		return stockinTime;
	}

	public void setStockinTime(Date stockinTime) {
		this.stockinTime = stockinTime;
	}

	public Date getCreatedTime() {
		return createdTime;
	}

	public void setCreatedTime(Date createdTime) {
		this.createdTime = createdTime;
	}

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark == null ? null : remark.trim();
	}

	public Integer getOrderType() {
		return orderType;
	}

	public void setOrderType(Integer orderType) {
		this.orderType = orderType;
	}

	public String getOrderTypeName() {
		return orderTypeName;
	}

	public void setOrderTypeName(String orderTypeName) {
		this.orderTypeName = orderTypeName == null ? null : orderTypeName.trim();
	}

	public BigDecimal getGoodsAmount() {
		return goodsAmount;
	}

	public void setGoodsAmount(BigDecimal goodsAmount) {
		this.goodsAmount = goodsAmount;
	}

	public BigDecimal getTotalPrice() {
		return totalPrice;
	}

	public void setTotalPrice(BigDecimal totalPrice) {
		this.totalPrice = totalPrice;
	}

	public BigDecimal getDiscount() {
		return discount;
	}

	public void setDiscount(BigDecimal discount) {
		this.discount = discount;
	}

	public BigDecimal getTaxAmount() {
		return taxAmount;
	}

	public void setTaxAmount(BigDecimal taxAmount) {
		this.taxAmount = taxAmount;
	}

	public BigDecimal getPostFee() {
		return postFee;
	}

	public void setPostFee(BigDecimal postFee) {
		this.postFee = postFee;
	}

	public BigDecimal getOtherFee() {
		return otherFee;
	}

	public void setOtherFee(BigDecimal otherFee) {
		this.otherFee = otherFee;
	}

	public Integer getLogisticsType() {
		return logisticsType;
	}

	public void setLogisticsType(Integer logisticsType) {
		this.logisticsType = logisticsType;
	}

	public Date getCheckTime() {
		return checkTime;
	}

	public void setCheckTime(Date checkTime) {
		this.checkTime = checkTime;
	}

	public List<WdtQybStockInDetail> getDetailsList() {
		return detailsList;
	}

	public void setDetailsList(List<WdtQybStockInDetail> detailsList) {
		this.detailsList = detailsList;
	}

	@Override
	public String toString() {
		return "WdtQybStockIn [stockinId=" + stockinId + ", orderNo=" + orderNo + ", warehouseNo=" + warehouseNo + ", stockinTime=" + stockinTime
				+ ", createdTime=" + createdTime + ", remark=" + remark + ", orderType=" + orderType + ", orderTypeName=" + orderTypeName + ", goodsAmount="
				+ goodsAmount + ", totalPrice=" + totalPrice + ", discount=" + discount + ", taxAmount=" + taxAmount + ", postFee=" + postFee + ", otherFee="
				+ otherFee + ", logisticsType=" + logisticsType + ", checkTime=" + checkTime + ", detailsList=" + detailsList + "]";
	}

}